package com.sc.nft.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.nft.enums.BoxConditionEnum;
import com.sc.nft.sup.SuperEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
/**
 * 盲盒兑换条件(BoxTakeConversionCondition)表实体类
 *
 * @author 王伟成
 * @since 2023-11-07 16:57:32
 */
@Data
@TableName("sc_box_take_conversion_condition")
@ApiModel(value = "sc_box_take_conversion_condition 对象", description = "盲盒兑换条件")
public class BoxTakeConversionCondition extends SuperEntity implements Serializable {
    @ApiModelProperty(value = "盲盒id")
    private Long boxId;

    @ApiModelProperty(value = "兑换条件类型  1.星球碎片 2.权益道具")
    private BoxConditionEnum conversionType;

    @ApiModelProperty(value = "1:持有藏品  2:条件-例子:星球碎片  权益卡")
    private Integer type;

    @ApiModelProperty(value = "持有的藏品名字or需要满足条件的条件内容名字")
    private String name;

    @ApiModelProperty(value = "这个id有可能是藏品id,也有可能是满足兑换条件的id.需要根据type类型进行判定")
    private Long tripartiteId;

    @ApiModelProperty(value = "消耗数量")
    private String costQuantity;

    @ApiModelProperty(value = "缩略图")
    private String creationContent;


}
